'use strict';

angular.module('fbdApp.templateModule')

.controller('showTableCtrl', function($scope, $mdSidenav) {
  $scope.selectRes = function(r) {
    $scope.selectedResult = r;
    // console.log($scope.selectedResult);
  };

  $scope.checkArticleDetail = function() {
    // alert($scope.selectedResult);
    // $scope.toggleRight = buildToggler('right');
    $mdSidenav('article-detail').toggle();

  }

});
